package com.lianzai.system.service.impl;

import com.lianzai.common.utils.Query;
import com.lianzai.common.utils.QueryDO;
import com.lianzai.system.dao.IndustryDao;
import com.lianzai.system.domain.IndustryDO;
import com.lianzai.system.service.IndustryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndustryServiceImpl implements IndustryService {

    @Autowired
    private IndustryDao industryDao;

    @Override
    public List<IndustryDO> list(QueryDO queryDO) {
        Query query = new Query(queryDO);
        return industryDao.list(query);
    }
}
